package {{ package }};

import {{ entity_package }};

import java.util.List;

/**
 * @detail {{ class_name }}数据库接口
 * @author {{ createName }}
 * @date  {{ date }}
 **/
public interface {{ class_name }}Mapper {
    List<{{ class_name }}> getAll{{ class_name }}({{ class_name }} {{ small_class_name }});


    List<{{ class_name }}> get{{ class_name }}ByParams({{ class_name }} {{ small_class_name }});


    int save{{ class_name }}({{ class_name }} {{ small_class_name }});


    int delete{{ class_name }}({{ class_name }} {{ small_class_name }});


    int update{{ class_name }}({{ class_name }} {{ small_class_name }});

}